﻿import com.mixmedia.mx.AbstractMovieClipEventDispatcher;

/**
 * @author Colin
 */
class com.mixmedia.view.net.VideoPlayer extends AbstractMovieClipEventDispatcher{	
	public static var METADATA:String="onMetaData";
	public static var EARLIESTSTARTTIME:String = "onEarliestStartTime";
	public static var PLAYING:String = 'onPlaying';
	public static var PLAYEND:String = 'playEnd';

	public var safePlayToEnd : Boolean = false;
	public var errorCode : String;
	public var clickDisable : Boolean = true;

	public var loop:Boolean = false;	
	public var autoPlay:Boolean = true;

	public function VideoPlayer(){
	}
	
	private function onUnload():Void{
		unload();
	}
	
	public function setPreloadImage(url:String):Void{
	}

	public function load(path:String):Void{
	}

	public function getSecondBeforeSafePlay():Number{
		return null;
	}

	public function play():Void{
	}

	public function stop(sendEvent:Boolean):Void{
	}

	public function seek(time:Number):Void{
	}

	public function gotoAndPlay(time:Number):Void{
	}

	public function gotoAndStop(time:Number):Void{
	}
		
	public function getBytesTotal():Number{
		return null;
	}
	
	public function getBytesLoaded():Number{
		return null;
	}

	public function getDuration() : Number {
		return -1;
	}
	
	public function get _currentframe():Number{
		return null;
	}

	public function get isPlaying():Boolean{
		return null;
	}

	public function set _url(url:String):Void{
		//do nothing
	}

	public function get _url():String{
		return null;
	}

	public function getTargetContainer() : Object {
		return null;
	}

	public function get autoScale():Boolean{
		return null;
	}

	public function set autoScale(value:Boolean):Void{
	}

	public function unload() : Void {
	}
}
